<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/4/1/001
 * Time: 21:46
 */

namespace App\Models\base\traits;


use App\Models\goods\Goods;
use App\Models\goods\Order;

trait HasOrder
{
    public function order()
    {
        return $this->belongsTo(Order::class,'order_id');
    }
}